package com.ruoyi.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 大棚对象 greenhouse
 * 
 * @author ruoyi
 * @date 2021-07-12
 */
public class Greenhouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 主码 */
    private Long greenhouseId;

    /** 大棚名称 不能重复 */
    @Excel(name = "大棚名称 不能重复")
    private String greenhouseName;

    /** 大棚类型日光温室 | 连栋温室 | 塑料大棚 */
    @Excel(name = "大棚类型日光温室 | 连栋温室 | 塑料大棚")
    private String greenhouseType;

    /** 面积 */
    @Excel(name = "面积")
    private Long acreage;

    /** 单位 默认平方米 */
    @Excel(name = "单位 默认平方米")
    private String unit;

    /** 片区编号 */
    @Excel(name = "片区编号")
    private Long areaId;

    public void setGreenhouseId(Long greenhouseId) 
    {
        this.greenhouseId = greenhouseId;
    }

    public Long getGreenhouseId() 
    {
        return greenhouseId;
    }
    public void setGreenhouseName(String greenhouseName) 
    {
        this.greenhouseName = greenhouseName;
    }

    public String getGreenhouseName() 
    {
        return greenhouseName;
    }
    public void setGreenhouseType(String greenhouseType) 
    {
        this.greenhouseType = greenhouseType;
    }

    public String getGreenhouseType() 
    {
        return greenhouseType;
    }
    public void setAcreage(Long acreage) 
    {
        this.acreage = acreage;
    }

    public Long getAcreage() 
    {
        return acreage;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("greenhouseId", getGreenhouseId())
            .append("greenhouseName", getGreenhouseName())
            .append("greenhouseType", getGreenhouseType())
            .append("acreage", getAcreage())
            .append("unit", getUnit())
            .append("areaId", getAreaId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
